class AddSomeToUser < ActiveRecord::Migration
  def change
    add_column :users, :department_id, :integer
    add_column :users, :admin, :boolean
    add_column :users, :user_name, :string
  add_index :users, :user_name,                unique: true
  end

end
